package com.spring.daily.web.dao;

import java.util.List;
import java.util.Map;

import com.spring.daily.web.dto.DailyParamter;
import com.spring.daily.web.model.DailyRecord;
import com.spring.daily.web.model.DailyRecordBase;

public interface DailyRecordMapper {
    int deleteByPrimaryKey(String id);

    int insert(DailyRecord record);

    int insertSelective(DailyRecord record);

    DailyRecord selectByPrimaryKey(String id);

    List<Map<String,Object>> selectAllTypeDaily(DailyParamter dailyParamter);
    
    DailyRecordBase selectDailyByID(String dailyID);
    
    int updateByPrimaryKeySelective(DailyRecord record);

    int updateByPrimaryKey(DailyRecord record);
}